<%= semantic_form_for @search do |f| %>
<%= f.inputs "Search condition" , :class=>"search-form" do %>

<%= f.input :code_contains , :input_html => { :class => 'auto-complete-customer-code'} ,:required => false %>

<%= f.input :first_name_contains ,:required => false %>
<%= f.input :last_name_contains ,:required => false %>
<%= f.input :nick_name_contains ,:required => false %>
<%= f.input :card_no_contains ,:required => false %>

<% end %>
<%= f.commit_button "Search" , :button_html => { :class => "search-button", :disable_with => 'Searching...' } %>
<% end %>
